summaryrefslogtreecommitdiff
path: root/src/commandset.h
blob: 579e1d82139ea50898e65bdc462d045d3151729d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef COMMAND_SET_H
#define COMMAND_SET_H

#include <bu/list.h>
#include <bu/string.h>

class CommandSet
{
public:
	CommandSet();
	virtual ~CommandSet();

	void addCommand( class Command *pCmd );

	bool dispatch( class GameState &gState, const Bu::StringList &lCmd );

private:
	typedef Bu::List<class Command *> CommandList;
	CommandList lCommand;
};

#endif